package com.fc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fc.entity.base.BaseEntity;
import com.fc.enums.ImageEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 产品详情图
 * </p>
 *
 * @author
 * @since 2024-11-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("product_detail_images")
@Schema(name = "ProductDetailImages对象", description = "产品详情图")
public class ProductDetailImages extends BaseEntity {
    @Schema(title = "产品id")
    private Long productId;

    @Schema(title = "产品详情图")
    private String image;

    @Schema(title = "图片类别（MAIN、DETAIL）")
    private ImageEnum type;

    @Schema(title = "图片先后顺序")
    private Integer imageIndex;
}
